{
    "data-root": "{{ DOCKER_ROOT }}",
    "registry-mirrors": [{{ DOCKER_MIRRORS }}],
{% if repository is defined %}
    "insecure-registries": ["{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:5000"],
{% endif %}
    "exec-opts": ["native.cgroupdriver=systemd"]
}
